package com.entrogy.service;

import net.sf.json.JSONArray;
import net.sf.json.JSONObject;

/**
 * @ClassName KaoqinService
 * @Description
 * @Author luoxingjiang
 * @Date 2019/7/5 0005 上午 9:13
 * @Version 1.0
 **/
public interface KaoqinService {

    JSONObject kaoqinInit(String uid);

    JSONArray getKaoqin(String uid, String select1id, String timeid, String date);

    JSONArray select(String uid, String selectid, String timeid);

    JSONArray colTitle(int flag);

    JSONArray detailRecordByTea(String courseid, Integer schoolCode);

    JSONObject susheInit(String uid);

    /**
     * 查询流水记录
     * @param name
     * @param uid
     * @param startTime
     * @param endTime
     * @param pageInt
     * @param schoolCode
     * @return
     */
    JSONObject getStudentRecord(String name, String uid, String startTime, String endTime, int pageInt, Integer schoolCode) throws Exception;

    /**
     * 返校统计的初始化
     * @param uid
     * @return
     */
    JSONObject backtoSchoolInit(String uid);

    /**
     * 返校统计的查询
     * @param uid
     * @param courseId
     * @return
     */
    JSONArray backtoSchoolSelect(String uid, String courseId);
}
